<?php
function search() {
	lang_include('search');
	$cnt=plugins('search/theme/select/', true);
	
	$cnt='<form action="index.php?module=search" method="post"><input type="text" name="search" class="button" size="11" /><br />
<select name="where" class="button">
<option value="all">'.$GLOBALS['lang']['search']['everywhere'].'</option>
'.$cnt.'
</select>
<input type="submit" value="'.$GLOBALS['lang']['global']['search'].'" class="button" /></form>';
	
	$tpl=new tpl();
	$tpl->create_string($cnt, array());
	$tpl->parse();
}

?>
